﻿Public Class Profile
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load


        If Request.Params("Username") = User.Identity.Name Then
            btn_EditProfile.Visible = True

        Else
            btn_EditProfile.Visible = False

        End If


    End Sub

    Protected Sub btn_EditProfile_Click(sender As Object, e As EventArgs) Handles btn_EditProfile.Click

    End Sub

    Protected Sub btn_profile_Click(sender As Object, e As EventArgs) Handles btn_profile.Click
        Response.Redirect("Profile.aspx?Username=" & User.Identity.Name)
    End Sub
End Class